package com.ruoyi.app.domain;

//添加mybatisplus的三个包引用

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * banner对象 app_banners
 *
 * @author jiang
 * @date 2024-11-12
 */
@Data
@TableName("app_banners")
public class AppBanners extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * Banner名称
     */
    @Excel(name = "Banner名称")
    private String title;

    /**
     * Banner描述
     */
    @Excel(name = "Banner描述")
    private String description;

    /**
     * banners类型
     */
    @Excel(name = "banners类型")
    private Long bannersType;

    /**
     * Banner图片的URL
     */
    @Excel(name = "Banner图片的URL")
    private String imageUrl;

    /**
     * 点击Banner时跳转的链接URL
     */
    @Excel(name = "点击Banner时跳转的链接URL")
    private String linkUrl;

    /**
     * Banner排序值
     */
    @Excel(name = "Banner排序值")
    private Long sortOrder;

}

